package icu.qx.pro.domain.pbs;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.util.List;

/**
 * 生产班组对象 pbs_work_group
 *
 * @author yong
 * @date 2024-06-19
 */
public class PbsWorkGroup extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 生产班组code
     */
    private String wgCode;

    /**
     * 班组类型
     */
    @Excel(name = "班组类型")
    private String wgGTypeCode;
    private PbsGroupType pbsGroupType;

    /**
     * 生产单元code
     */
    @Excel(name = "生产单元code")
    private String wgCellCode;
    private PbsWorkCell pbsWorkCell;

    /**
     * 班组名称
     */
    @Excel(name = "班组名称")
    private String wgName;

    /**
     * 状态  0禁用 1启用
     */
    @Excel(name = "状态  0禁用 1启用")
    private String wgStatus;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String wgDesc;

    /**
     * 负责人
     */
    @Excel(name = "负责人")
    private Long wgManager;

    private List<PbsWorkGroupPeo> pbsWorkGroupPeos;

    public List<PbsWorkGroupPeo> getPbsWorkGroupPeos() {
        return pbsWorkGroupPeos;
    }

    public void setPbsWorkGroupPeos(List<PbsWorkGroupPeo> pbsWorkGroupPeos) {
        this.pbsWorkGroupPeos = pbsWorkGroupPeos;
    }

    public PbsGroupType getPbsGroupType() {
        return pbsGroupType;
    }

    public void setPbsGroupType(PbsGroupType pbsGroupType) {
        this.pbsGroupType = pbsGroupType;
    }

    public PbsWorkCell getPbsWorkCell() {
        return pbsWorkCell;
    }

    public void setPbsWorkCell(PbsWorkCell pbsWorkCell) {
        this.pbsWorkCell = pbsWorkCell;
    }

    public void setWgCode(String wgCode) {
        this.wgCode = wgCode;
    }

    public String getWgCode() {
        return wgCode;
    }

    public void setWgGTypeCode(String wgGTypeCode) {
        this.wgGTypeCode = wgGTypeCode;
    }

    public String getWgGTypeCode() {
        return wgGTypeCode;
    }

    public void setWgCellCode(String wgCellCode) {
        this.wgCellCode = wgCellCode;
    }

    public String getWgCellCode() {
        return wgCellCode;
    }

    public void setWgName(String wgName) {
        this.wgName = wgName;
    }

    public String getWgName() {
        return wgName;
    }

    public void setWgStatus(String wgStatus) {
        this.wgStatus = wgStatus;
    }

    public String getWgStatus() {
        return wgStatus;
    }

    public void setWgDesc(String wgDesc) {
        this.wgDesc = wgDesc;
    }

    public String getWgDesc() {
        return wgDesc;
    }

    public void setWgManager(Long wgManager) {
        this.wgManager = wgManager;
    }

    public Long getWgManager() {
        return wgManager;
    }

    @Override
    public String toString() {
        return "PbsWorkGroup{" +
                "wgCode='" + wgCode + '\'' +
                ", wgGTypeCode='" + wgGTypeCode + '\'' +
                ", pbsGroupType=" + pbsGroupType +
                ", wgCellCode='" + wgCellCode + '\'' +
                ", pbsWorkCell=" + pbsWorkCell +
                ", wgName='" + wgName + '\'' +
                ", wgStatus='" + wgStatus + '\'' +
                ", wgDesc='" + wgDesc + '\'' +
                ", wgManager=" + wgManager +
                ", pbsWorkGroupPeos=" + pbsWorkGroupPeos +
                "} " + super.toString();
    }
}
